<extend file='app/home/master'/>
<block name="content">
  <div class="blank"></div>
  <div class="blogs">
    <ul class="bloglist">
      <foreach from="$article" key="$k" value="$v">
      <li>
        <div class="arrow_box">
          <div class="ti"></div>
          <!--三角形-->
          <div class="ci"></div>
          <!--圆形-->
          <!--content/{aid}.html-->
          <h2 class="title"><a href="{{__ROOT__}}/content/{{$v['aid']}}.html" target="_blank">{{$v['ctitle']}}</a></h2>
          <ul class="textinfo">
            <a href="/"><img src="{{__ROOT__}}/{{$v['thumb']}}"></a>
            <p style="background: black">{{$v['content']}}</p>
          </ul>
          <ul class="details">
            <li class="likes"><a href="#">10</a></li>
            <li class="comments"><a href="#">34</a></li>
            <li class="icon-time"><a href="#">{{$v['sendtime']}}</a></li>
          </ul>
        </div>
        <!--arrow_box end-->
      </li>
      <li>

        <!--arrow_box end-->
      </li>
      </foreach>
    </ul>
    <!--bloglist end-->
    <aside>
      <div class="tuijian">
        <h2>推荐文章</h2>
        <ol>
        <foreach from="$tagData" key="$k" value="$v">
          <li><span><strong>{{$v['aid']}}</strong></span><a href="{{__ROOT__}}/content/{{$v['aid']}}.html">{{$v['ctitle']}}</a></li>
        </foreach>
        </ol>
      </div>
      <div class="toppic">
        <h2>图文并茂</h2>
        <ul>
        <foreach from="$tag" key="$k" value="$v">
          <li><a href="{{__ROOT__}}/content/{{$v['aid']}}.html"><img src="{{__ROOT__}}/{{$v['thumb']}}">{{$v['ctitle']}}
            <p>{{$v['cname']}}</p>
          </a></li>
        </foreach>
        </ul>
      </div>
      <div class="clicks">
        <h2>热门点击</h2>
        <ol>
<foreach from="$click" key="$k" value="$v">
          <li><span>
            <!--'listcid/{cid}.html'根据分类列表查询-->
            <a href="{{__ROOT__}}/listpid/{{$v['cid']}}.html">{{$v['cname']}}</a>
            <!--根据内容查询content/{aid}.html-->
          </span><a href="{{__ROOT__}}/content/{{$v['aid']}}.html">{{$v['ctitle']}}</a></li>
</foreach>

        </ol>
      </div>
      <div class="search">
        <form class="searchform" method="get" action="#">
          <input type="text" name="s" value="Search" onfocus="this.value=''" onblur="this.value='Search'">
        </form>
      </div>
      <div class="viny">
        <dl>
          <dt class="art"><img src="{{__ROOT__}}/app/home/public/images/artwork.png" alt="专辑"></dt>
          <dd class="icon-song"><span></span>南方姑娘</dd>
          <dd class="icon-artist"><span></span>歌手：赵雷</dd>
          <dd class="icon-album"><span></span>所属专辑：《赵小雷》</dd>
          <dd class="icon-like"><span></span><a href="/">喜欢</a></dd>
          <dd class="music">
            <audio src="{{__ROOT__}}/app/home/public/images/nf.mp3" controls></audio>
          </dd>
          <!--也可以添加loop属性 音频加载到末尾时，会重新播放-->
        </dl>
      </div>
    </aside>
  </div>
</block>
